package com.lelefly.base.po;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * LeleFlyHistory entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="lelefly_fly_history"
    ,catalog="lelefly"
)

public class LeleFlyHistory  implements java.io.Serializable {


    // Fields    

     private String planeId;
     private long flightBeginTime;
     private long flightEndTime;


    // Constructors

    /** default constructor */
    public LeleFlyHistory() {
    }

	/** minimal constructor */
    public LeleFlyHistory(String planeId) {
        this.planeId = planeId;
    }
    
    /** full constructor */
    public LeleFlyHistory(String planeId, long flightBeginTime, long flightEndTime) {
        this.planeId = planeId;
        this.flightBeginTime = flightBeginTime;
        this.flightEndTime = flightEndTime;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="plane_id",  length=50)

    public String getPlaneId() {
        return this.planeId;
    }
    
    public void setPlaneId(String planeId) {
        this.planeId = planeId;
    }
    
    @Column(name="flight_begin_time")

    public long getFlightBeginTime() {
        return this.flightBeginTime;
    }
    
    public void setFlightBeginTime(long flightBeginTime) {
        this.flightBeginTime = flightBeginTime;
    }
    
    @Column(name="flight_end_time")

    public long getFlightEndTime() {
        return this.flightEndTime;
    }
    
    public void setFlightEndTime(long flightEndTime) {
        this.flightEndTime = flightEndTime;
    }
   








}